package pl.soulmusic.phylactery.map;

import android.text.format.Time;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class Song extends OverlayItem {

	private int id;
	private Time loggedTime;
	private String album;
	private String artist;
	private String genre;
	
	public String getAlbum() {
		return album;
	}

	public void setAlbum(String album) {
		this.album = album;
	}
	
	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getGenre() {
		return genre;
	}

	public void setGenre(String genre) {
		this.genre = genre;
	}

	public Song(GeoPoint geoPoint, int id, String title, String desc, Time time) {
		super(geoPoint, title, desc);
		this.id = id;
		this.loggedTime = time;
	}

	public GeoPoint getGeoPoint() {
		return mPoint;
	}

	public int getId() {
		return id;
	}

	public String getDesc() {
		return getDesc();
	}

	public Time getLoggedTime() {
		return loggedTime;
	}

	@Override
	public String toString() {
		return mPoint.getLatitudeE6() + ", " + mPoint.getLongitudeE6()
				+ "\n" + getTitle() + "\n"+
				loggedTime.format3339(false);
	}

}